function af() {
  let obj = {
    name: 'wcx',
    age: 26
  }
  setTimeout(()=>obj.name = 'lk', 1000)
  let astr = '123'
  let bstr = '456'
  return function() {
    console.log('start')
    console.log(obj.name)
    console.log(astr)
    console.log('end')
  }
}

let b = af()
console.log('------')
b()
setTimeout(b, 1500)